import { computed } from 'vue'
import type { ComputedRef } from 'vue'
import { getBaseUrl } from '@/js/service/baseUrl'

export const useBaseUrl = (): { baseUrl: ComputedRef<string>} => {
	const _baseUrl = computed(() => {
		return getBaseUrl()
	})
	return {
		baseUrl: _baseUrl
	}
}
